package cn.wangxl.group.rpc.rpcEntity;

/**
 * @Deacription RpcResponseStatus
 * @Author 20112128
 * @Date 2020/9/18 10:00
 **/
public enum RpcResponseStatus {

    SUCCESS(200,"SUCCESS"),

    NOT_FOUND(404,"NOT_FOUND"),

    ERROR(500,"ERROR");

    private int status;

    private String desc;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    RpcResponseStatus(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
